Repository navigation
docs(#6380 slice 3): API docs for public interfaces (#11190) - #11809
Conversation
- pkgs/id/ARCHITECTURE.md: public-vs-internal crate section - rustdoc on the four undocumented public items (id-core, id) - pkgs/mcpx/docs/tool-reference.md: MCP tool surface reference - pkgs/fleet/docs/verbs.md: fleet multicall verb contracts - pm-stack/docs/routes.md: aggregator HTTP route reference - planning/architecture/README.md: link the new docs Documentation only; no API changes. Gaps are recorded on #11190.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d827693c80
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| | Verb | Contract | | ||
| |------|----------| | ||
| | `init` | Initialise fleet configuration. | |
There was a problem hiding this comment.
Describe init as role autostart rather than configuration setup
For operators configuring a new host, fleet init does not initialise configuration: its help explicitly says “Autostart this host's fleet roles if they are not running” (crates/fleet-proxy/src/client.rs, INIT_USAGE). The implementation reads the existing host configuration and can start the proxy and secrets broker; an unknown location instead exits 69 without configuring anything. Document the autostart behavior so readers do not unexpectedly launch services when intending only to initialise configuration.
Useful? React with 👍 / 👎.
docs: follow-ups to #11809 (duplicate rustdoc, fleet init row)
Closes #11190 (slice 3 of #6380). Documentation only; no API changes.
What
pkgs/id/ARCHITECTURE.md: new Public API and Crate Surface section classifying every crate as public surface or internal.AuthId,Decision,CurrencyOp, and the three download-window constants inbackup.rs.pkgs/mcpx/docs/tool-reference.md: MCP tool reference (12 hand-written tools, generated-tool rules, return and error shapes). Registered incompendium.manifest.jsonandSUMMARY.md.pkgs/fleet/docs/verbs.md: contract for eachfleetmulticall verb, from the dispatch code.pm-stack/docs/routes.md: aggregator HTTP routes grouped by GET JSON, GET HTML, writes and assets.planning/architecture/README.md: links to all new docs.Verification
compendium.manifest.jsonparses.Known gaps (recorded on #11190, not fixed here)
subcommandsarrays are stale (queue lists about 16 verbs, the code dispatches 31).interfaces.mdandhttp-api.mdsay 81 ops; the live count is 93.server.gosays ten hand-written tools; there are 12.compare/matrix-mcpx.mdrow 19 (isErrorviamcpx_call) is unverified against the code.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.